#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2018/1/19 0019 9:52
# @Author  : Arliki
# @email   : hkdnxycz@outlook.com
# @File    : io_test

def run():
    with open('1.txt', 'r', encoding='utf-8') as f:
        L = f.readlines()
        lis = list()
        for i in L:
            lis.append(i[:-1])
    print(lis)
    print(len(lis))
    print(set(lis))
    print(len(set(lis)))


if __name__ == '__main__':
    run()
